import { getInfo, setInfo } from '@/utils/storage'

const state = {
  uerInfo: getInfo()
}
const mutations = {
  setUserInfo (state, userInfo) {
    state.uerInfo = userInfo
    setInfo(userInfo)
  }
}
const actions = {}
const getters = {

}

export default {
  namespaced: true,
  state,
  mutations,
  actions,
  getters
}
